TXI=NOT_SET, ACK=NOT_SET, I2CEN=DISABLED, T2I=NOT_SET, STAI=NOT_SET, ACKI=NOT_SET, SLVAMD=7BIT, T1I=NOT_SET, MSMDF=SLAVE, HACKEN=DISABLED, RXI=NOT_SET, BUSYF=NOT_SET, T0I=NOT_SET, RESET=INACTIVE, SLVAF=SLAVE_ADDRESS, LBACKEN=DISABLED, TXMDF=RECEIVE, STA=NOT_SET, STOI=NOT_SET, STO=NOT_SET, ACKRQF=NOT_SET, RXARM=DISABLED, T3I=NOT_SET, FMD=DISABLED, TXARM=DISABLED, SMINH=INACTIVE, ARBLI=NOT_SET, ATXRXEN=DISABLED, GCEN=DISABLED, DBGMD=RUN, ARBLF=NOT_SET
Module Control
BUSYF | Busy Flag. 0 (NOT_SET): A transaction is not currently taking place. 1 (SET): A transaction is currently taking place. |
ACK | Acknowledge. 0 (NOT_SET): Read: ACK has not been received. Write: Do not send an ACK. 1 (SET): Read: ACK received. Write: Send an ACK. |
ARBLF | Arbitration Lost Flag. 0 (NOT_SET): Arbitration lost error has not occurred. 1 (SET): Arbitration lost error occurred. |
ACKRQF | Acknowledge Request Flag. 0 (NOT_SET): ACK has not been requested. 1 (SET): ACK requested. |
STO | Stop. 0 (NOT_SET): Read: A stop is not pending and a stop / repeat start has not been detected. Write: Clear the STO bit. 1 (SET): Read: Stop or stop / repeat start detected. This bit must be cleared by firmware. Write: Generate a stop. |
STA | Start. 0 (NOT_SET): Read: A start is not pending and a repeat start has not been detected. Write: Clear the STA bit. 1 (SET): Read: Start or repeat start detected. This bit must be cleared by firmware. Write: Generate a start or repeat start. |
TXMDF | Transmit Mode Flag. 0 (RECEIVE): Module is in receiver mode. 1 (TRANSMIT): Module is in transmitter mode. |
MSMDF | Master/Slave Mode Flag. 0 (SLAVE): Module is operating in Slave mode. 1 (MASTER): Module is operating in Master mode. |
STOI | Stop Interrupt Flag. 0 (NOT_SET): Read: A stop interrupt has not occurred. Write: Clear the stop interrupt flag (STOI). 1 (SET): Read: Stop interrupt detected. In Slave mode, a stop has been detected on the bus. In Master mode, a stop has been generated. Write: Force a stop interrupt. |
ACKI | Acknowledge Interrupt Flag. 0 (NOT_SET): Read: An acknowledge interrupt has not occurred. Write: Clear the acknowledge interrupt (ACKI). 1 (SET): Read: An acknowledge interrupt occurred. Write: Force an acknowledge interrupt. |
RXI | Receive Done Interrupt Flag. 0 (NOT_SET): Read: A receive done interrupt has not occurred. Write: Clear the receive done interrupt (RXI). 1 (SET): Read: Receive done interrupt occurred. Write: Force a receive done interrupt. |
TXI | Transmit Done Interrupt Flag. 0 (NOT_SET): Read: A transmit done interrupt has not occurred. Write: Clear the transmit done interrupt (TXI). 1 (SET): Read: Transmit done interrupt detected. If the transmit is forced to abort by a NACK response, the acknowledge interrupt (ACKI) will also be set. Write: Force a transmit done interrupt. |
STAI | Start Interrupt Flag. 0 (NOT_SET): Read: Start interrupt has not occurred. Write: Clear the start interrupt (STAI). 1 (SET): Read: Start or repeat start interrupt occurred. In Slave mode, a start or repeat start is detected. In Master mode, a start or repeat start has been generated. |
ARBLI | Arbitration Lost Interrupt Flag. 0 (NOT_SET): Read: An arbitration lost interrupt has not occurred. Write: Clear the arbitration lost interrupt (ARBLI). 1 (SET): Read: Arbitration lost interrupt detected. Write: Force an arbitration lost interrupt. |
T0I | I2C Timer Byte 0 Interrupt Flag. 0 (NOT_SET): Read: A I2C Timer Byte 0 interrupt has not occurred. Write: Clear the I2C Timer Byte 0 interrupt (T0I). 1 (SET): Read: I2C Timer Byte 0 overflow interrupt detected. Write: Force a I2C Timer Byte 0 interrupt. |
T1I | I2C Timer Byte 1 Interrupt Flag. 0 (NOT_SET): Read: No interrupt occurred. Write: Clear the I2C Timer Byte 1 interrupt (T1I). 1 (SET): Read: I2C Timer Byte 1 overflow interrupt is detected. Write: Force a I2C Timer Byte 1 interrupt. |
T2I | I2C Timer Byte 2 Interrupt Flag. 0 (NOT_SET): Read: A I2C Timer Byte 2 interrupt has not occurred. Write: Clear the I2C Timer Byte 2 interrupt (T2I). 1 (SET): Read: I2C Timer Byte 2 overflow interrupt detected. Write: Force a I2C Timer Byte 2 interrupt. |
T3I | I2C Timer Byte 3 Interrupt Flag. 0 (NOT_SET): Read: A I2C Timer Byte 3 interrupt or SCL low timeout has not occurred. Write: Clear the I2C Timer Byte 3 interrupt (T3I). 1 (SET): Read: I2C Timer Byte 3 overflow or SCL low timeout interrupt detected. Write: Force a I2C Timer Byte 3 interrupt. |
RXARM | Receive Arm. 0 (DISABLED): Disable data and address reception. 1 (ENABLED): Enable the module to perform a receive operation. |
TXARM | Transmit Arm. 0 (DISABLED): Disable data and address transmission. 1 (ENABLED): Enable the module to perform a transmit operation. |
SLVAF | Slave Address Type Flag. 0 (SLAVE_ADDRESS): Slave address detected. 1 (GENERAL_CALL): General Call address detected. |
ATXRXEN | Auto Transmit or Receive Enable. 0 (DISABLED): Do not automatically switch to transmit or receive mode after a Start. 1 (ENABLED): If automatic hardware acknowledge mode is enabled (HACKEN = 1), automatically switch to transmit or receive mode after a Start. |
FMD | Filter Mode. 0 (DISABLED): Disable the input filter. 1 (ENABLED): Enable the input filter. |
DBGMD | I2C Debug Mode. 0 (RUN): The I2C module will continue to operate while the core is halted in debug mode. 1 (HALT): A debug breakpoint will cause the I2C module to halt. |
SMINH | Slave Mode Inhibit. 0 (INACTIVE): Enable Slave modes. 1 (ACTIVE): Inhibit Slave modes. The module will not respond to a Master on the bus. |
HACKEN | Auto Acknowledge Enable . 0 (DISABLED): Disable automatic hardware acknowledge. 1 (ENABLED): Enable automatic hardware acknowledge. |
SLVAMD | Slave Address Mode. 0 (7BIT): Slave addresses are 7 bits. 1 (10BIT): Slave addresses are 10 bits. |
LBACKEN | Last Byte Acknowledge Enable. 0 (DISABLED): NACK after the last byte is received. 1 (ENABLED): ACK after the last byte is received. |
GCEN | General Call Address Enable. 0 (DISABLED): Disable General Call address decoding. 1 (ENABLED): Enable General Call address decoding. |
RESET | Module Soft Reset. 0 (INACTIVE): I2C module is not in soft reset. 1 (ACTIVE): I2C module is in soft reset and firmware cannot access all bits in the module. |
I2CEN | I2C Enable. 0 (DISABLED): Disable the I2C module. 1 (ENABLED): Enable the I2C module. |